///**
// * 
// */
//package com.myBase.core.modules.keyword.web;
//
//import javax.servlet.http.HttpServletRequest;
//import javax.servlet.http.HttpServletResponse;
//
//import org.apache.shiro.authz.annotation.RequiresPermissions;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Controller;
//import org.springframework.ui.Model;
//import org.springframework.web.bind.annotation.ModelAttribute;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestParam;
//
//import com.msds.aegis.base.entity.Page;
//import com.msds.aegis.entity.AegisKeyword;
//import com.msds.aegis.facade.service.AegisKeywordServiceFacade;
//import com.myBase.framework.common.web.BaseController;
//
///**
// * 关键字Controller
// * @author wyl
// * @version 2017-05-08
// */
//@Controller
//@RequestMapping(value = "${adminPath}/keyword/aegisKeyword")
//public class AegisKeywordController extends BaseController {
//
//    @Autowired
//    private AegisKeywordServiceFacade aegisKeywordService;
//
//    @ModelAttribute
//    public AegisKeyword get(@RequestParam(required = false) String id) {
//        AegisKeyword entity = null;
//
//        if (entity == null) {
//            entity = new AegisKeyword();
//        }
//        return entity;
//    }
//
//    /**
//     * * list(关键字查询列表) 
//     */
//    @RequiresPermissions("keyword:aegisKeyword:view")
//    @RequestMapping(value = { "list", "" })
//    public String list(AegisKeyword aegisKeyword, HttpServletRequest request, HttpServletResponse response,
//            Model model) {
//        //平台编码
//        String branchId = request.getParameter("branchId");
//        logger.info("获取关键字查询列表  Controller  开始,branchId=" + branchId);
//        Page<AegisKeyword> page = null;
//        try {
//            aegisKeyword.setBranchId(branchId);//设置平台编码
//            page = aegisKeywordService.findPage(new Page<AegisKeyword>(request, response), aegisKeyword);
//
//        } catch (Exception e) {
//            logger.error("获取关键字查询列表  Controller 执行异常", e);
//            model.addAttribute("message", "关键字列表异常");
//        }
//        model.addAttribute("page", page);
//        model.addAttribute("branchId", branchId);
//        return "modules/keyword/aegisKeywordList";
//    }
//
//}